function logout(){
    if (confirm("确定注销?")) {
        // 1.去除后端的 session
        jQuery.ajax({
            url:"/user/logout",
            type:"GET",
            date:{},
            success:function(res) {}
        });
        // 2.跳转到登录页面
        location.href = "login.html";
    }
}